package com.apsfc.service.impl;

import com.apsfc.po.Admin;
import com.apsfc.dao.AdminDao;
import com.apsfc.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("adminService")
public class AdminServiceImpl implements AdminService{

    @Autowired
    @Qualifier("adminDao")
    private AdminDao adminDao;

    @Override
    public List<Admin> getAll() {   //测试用 获取所有Admin用户密码
        return adminDao.getAll();
    }
}
